/*
 * action 类型
 */

export const type = {
    INFOTYPE : 'INFOTYPE',

    msgType:'MSGTYPE',
    userType:'USERTYPE',
    
};



export function changeHeadType(headName) {
    return {
        type:type.INFOTYPE,
        headName
    }
}

export function changeMsgNum(msgNum) {
    return {
        type:type.msgType,
        msgNum
    }
}

export function changeUserInfo(info) {
    return {
        type:type.userType,
        info
    }
}